package gui;


import java.awt.BorderLayout;
import java.awt.Dimension;
import java.awt.Toolkit;
import javax.swing.JFrame;
import javax.swing.JWindow;

class SplashWindow1 extends JFrame
{
    
    public SplashWindow1()
    {
        
        super();
        this.setUndecorated(true);
//        JLabel l = new JLabel();
        signIn si=new signIn();
  //      getContentPane().add(l, BorderLayout.CENTER);
        getContentPane().add(si, BorderLayout.CENTER);
        pack();
        Dimension screenSize =
          Toolkit.getDefaultToolkit().getScreenSize();
       // Dimension labelSize = l.getPreferredSize();
        setLocation(screenSize.width/2 - (si.getWidth()/2),
                    screenSize.height/2 - (si.getHeight()/2));
        setVisible(true);
        screenSize = null;
      //  labelSize = null;
    }
    
  
}